//
//
//

#ifndef _CONDITION_H_
#define _CONDITION_H_

class Condition
{
	public:
		Condition();
		~Condition();
		
		bool CondWait(void);
		//bool CondTimeWait()
		bool Signal(U32 count = 1);
		bool Broadcast();
	private:
		pthread_cond_t 	_cond;
		pthread_mutex_t _mutex;
};
#endif // _CONDITION_H_
